import request from '@/utils/request'

// 首页订单数据
export function orderNumInfo() {
  return request({
    url: '/index/orderNumInfo',
    method: 'get',
  })
}

// 首页展示的订单
export function selectOrderLsit() {
  return request({
    url: '/order/list',
    method: 'get',
  })
}

// 一周内营业额
export function priceOnWeek() {
  return request({
    url: '/index/priceOnWeek',
    method: 'get',
  })
}

// 车辆接单占比
export function carTypeOnOrder() {
  return request({
    url: '/index/carTypeOnOrder',
    method: 'get',
  })
}

// 订单状态
export function orderTypeList() {
  return request({
    url: '/index/orderTypeList',
    method: 'get',
  })
}

// 优惠券发布状态记录
export function couponSubmitList() {
  return request({
    url: '/index/couponSubmitList',
    method: 'get',
  })
}
